AweBooking\Model\Booking\Room_Item A

Total Complexity 69
Dependencies 8
Dependents 7
Total lines 441
Lines of code 232
Logical lines of code 135
Comment lines 130
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
sanitize_attribute()
A
55 11 19
timespan_changeable()
A
51 8 26
swap_room()
A
51 8 24
set_guests()
S
58 7 14
change_timespan()
S
54 5 21
set_timespan()
S
61 4 13
set_total()
S
61 4 12
perform_change_timespan()
S
56 3 16
saved()
S
65 3 10
get_guests()
S
64 3 10
map_attributes()
S
56 1 18
setup_attributes()
S
57 1 17
get_timespan()
S
73 2 4
set_subtotal()
S
68 2 7
updating()
S
72 2 6
clear_booking_event()
S
72 2 5
get_nights_stayed()
S
80 1 3
perform_delete()
S
77 1 4
apply_booking_event()
S
78 1 3